﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  padding: 20px 0;
}

.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 30px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

header {
  text-align: center;
  margin-bottom: 24px;
}

header h1 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 8px;
  font-weight: 600;
}

header p {
  color: #7f8c8d;
  font-size: 16px;
}

/* 新增：导语样式 */
.intro {
  background: #f0f7ff;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #d0e3ff;
  margin-bottom: 24px;
  font-size: 15px;
  color: #555;
}

.question {
  margin-bottom: 24px;
  padding: 20px;
  background: #f8f9ff;
  border-radius: 10px;
  border: 1px solid #e0e6f0;
  transition: transform 0.2s;
}

.question:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.question h3 {
  margin-bottom: 12px;
  color: #2c3e50;
  font-size: 18px;
  font-weight: 500;
}

.question label {
  display: block;
  margin: 8px 0;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s;
  color: #555;
  font-size: 15px;
}

.question label:hover {
  background: #e8f0fe;
}

button {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: #4a7c59;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-weight: 500;
}

button:hover {
  background: #3d6348;
  transform: translateY(-1px);
}

.result {
  text-align: center;
  padding: 30px 20px;
  background: #f0f7ff;
  border-radius: 12px;
  border: 1px dashed #4a7c59;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result h2 {
  color: #2c3e50;
  margin-bottom: 16px;
  font-size: 24px;
}

#personality {
  color: #4a7c59;
  font-weight: bold;
  font-size: 32px;
  margin: 10px 0;
}

.result p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #555;
}

/* 五维说明 */
.dimension-info {
  margin: 20px 0;
  font-size: 14px;
}

.dimension-info summary {
  cursor: pointer;
  color: #4a7c59;
  font-weight: 500;
}

/* 升级入口 */
.call-to-action {
  margin-top: 20px;
}

.join-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #4a7c59;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s;
  font-size: 15px;
}

.join-btn:hover {
  background: #3d6348;
}

/* 响应式 */
@media (max-width: 600px) {
  .container {
    padding: 20px 15px;
  }
  header h1 {
    font-size: 24px;
  }
  .question {
    padding: 16px;
  }
}